Information systems’ main objective is the processing of data. This data is processed into information to help an organisation realise its goals. The rules that govern the behaviour of an organisation are encoded into programs that govern the processing of the data. The data is kept in a data storage facility, in the form of databases or files.
The true value of any information system is in the data that it holds and the interpretation and analysis of that data. Information is one of the most valuable assets of any organisation. Very few, if any, organisations would be able to function without their information or data. To prevent damage to the organisation in the event of the data becoming lost or unavailable, copies are made and stored in secure, off-site locations as contingency. This is known as making backups.
Backup is the part of Security and Availability Management that guarantees the duplication of data for recovery usage in abnormal circumstances or for long time retention (archiving). Restore is the element of Security and Availability Management that guarantees the successful recovery of previously backed-up data for normal use.
Checking whether something has indeed been written onto the backup media is always necessary. Apart from this relatively simple check, it is necessary to determine whether the backup media does contain the data that was meant to be backed up. Last but not least, after each backup is taken a check should be performed in order to determine if it is possible to recover the system contents from the backup media. If all three checks are positive, a successful backup has been performed. If any one of these three checks fails, investigate, repair and retry until they are all successful.
Backup media does not live forever – it ages and is subject to wear and tear. The main causes of ageing and wear and tear are electromagnetic fields, temperature, humidity, light and mechanical stresses (read/writes). Some are manageable in such a way that the effects can be dampened and thus the life of the backup media can be extended. There is, however, always a definite point at which backup media becomes ‘no longer fit for use’ and has to be discarded. The determination of this point should be approached in a ‘better safe than sorry’ manner, given the importance of data stored on the backup media. Not spending money for new backup media is as good as not making a backup.
The determination of the fitness of any backup media can be approached in various ways. The simplest form is to note the date of purchase and the number of uses of particular backup media and discard it after either it has been used x times or it is y months old, whichever comes first. Sophisticated systems for the tracking, tracing and controlling of backup media use more elaborate algorithms to determine the viability of backup media including the number of errors in read/write actions. The ‘fit for use’ determination, in such a case, is often part of a larger management construction that (pro)actively manages all media including backup media. In the case where backup media is being discarded, its contents should be transferred to alternative media first if it is still required and the obsolete media should be physically destroyed.
If the material on a backup media is likely to be sensitive, it is important that the data is safely removed before it is scrapped.
One observation to keep in mind is that all media contains and produces errors. When selecting backup media it is helpful to translate error rates to real world items. One error in ten billion is only meaningful to the initiated. One wrong figure in five thousand insurance policies is meaningful to a larger group.
There are two main reasons why backups are taken:
Deciding on the timing and the frequency of backups depends on how much data an organisation can stand to lose without suffering serious disruption or loss.
Compare, for example, a stock market with a translation agency. The prices on the stock market will change almost every few seconds. If the data containing the prices of the stock for the last few minutes is lost, it will be impossible to determine who bought or sold what against what price. The stock market itself will be severely damaged if this was the case. It is quite different for the translation agency. If it loses a couple of minute’s worth of data, it will be a nuisance but that is all.
Therefore, the deciding factor in determining when to make a backup is the timeliness requirement for the data. As a rule of thumb, this is often the data concerning clients and the data concerning transactions. The first source in determining which data is crucial to an organisation is the SLA. It will contain the description of the critical ICT services for the organisation and it will provide pointers to which data it uses and thus which data is crucial.
The importance of the data is not the only criteria in determining when to make a backup – the opportunity to make a backup is also a factor to consider. All too often, backup jobs are configured to ignore files with any kind of lock on them. Locked files are more likely to be used for the most important data because they are more often accessed and changed. It is these important files that are ignored by the backup job, contrary to the goal of making a safe copy of important data.
Determining the right moment to make a backup is thus not a simple task but has to be done in consultation with customers, users, Service Managers and Operations.
The following points should be considered when checking the backup:
The fact that the backup job has finished without errors or warnings does not necessarily mean that an actual backup is produced. The above-mentioned lock issues could, in extreme cases, result in no copy of a particular file being produced.
If a backup has been produced and files have indeed been copied to the backup media, it is still not certain whether these files are the files that were meant to be copied. A check on the actual target files for the backup and the copy on the backup media needs to be made. This check might include file name, file size, creation date or amended date, depending on how the data and the generations of data are denoted.
Many organisations choose to run backup jobs outside normal hours. This is an attempt to limit the ‘burden’ of the backup job as much as possible. The burden is caused by the resources that are consumed by the backup job and the exclusive read-lock that is often demanded by backup jobs in order to make a consistent copy of the data. Starting a backup job after normal hours does not guarantee that the backup job will finish before the start of the normal day. Assessing the total run time and taking appropriate measures for worst-case possibilities and special activities like end-of-period work will prevent the backup overrun.
Even though it may seem easy to define where the backup job needs to write the data to, this can go wrong and remain undetected. With sequential media like tapes, it is possible to put one backup set after the other until the tape is full and the backup job asks for a new tape. It is necessary to define how long a backup set needs to be saved so that tapes can be overwritten when appropriate. With network backup solutions, the problem is even more complex.
Making backup copies of non-flat file systems can prove to be quite complex. Databases may need to be put into a special state in order to ensure that a restorable backup is taken. There are a number of tools available that can help achieve this reliably and easily.
Periodically, recovery tests should be completed on backups to ensure that the information is recoverable in a usable manner. This is a vital aspect of backup and recovery.
The appropriate media should be used to ensure that the information can be retained for the period necessary and can be recovered within the required time-frame.
The different recovery methods and requirements will also need to be considered:
The usage of data concerns the medium or signal with which the data is stored. The bits are stored as a physical representation of the data by modulating a signal on a medium.
Database management disciplines can be broken down into:
Storage Management contains all aspects of the management of the physical data stored on media. The data has to be maintained at the level of the medium or signal with which the data is represented. Storage Management will translate the terms and conditions stemming from the intended use to characteristics of the data media. The terms and conditions should be documented within SLAs, OLAs and UCs and should include:
Characteristics of data media need to be managed in order to adhere to the determinations laid down in OLAs and UCs. This is achieved through a number of activities undertaken by Storage Management:
In reality, there is often a very loose connection between the trends, changes and decisions about the usage of the infrastructure and the management of storage media. This is often caused by complex (or perceived complex) relations between data characteristics on one side and the services on the other side. Storage Management is all too often ‘the last to know and the first to be blamed’.
During the development of applications and services, the terms and conditions of the characteristics are estimated. Changes in the utilisation of the infrastructure, the nature of the ICT services or even the business processes themselves can have a profound effect on the ability of Storage Management to adhere to OLAs and UCs.
Current 24x7 availability demands make it nearly impossible to de-fragment, reallocate and scratch media off-line. The design, implementation and operational procedures will have to cater for this ‘always on’ demand requirement. Furthermore, databases and file stores have a tendency to outgrow any other phenomenon in the ICT domain. For example, if the number of users doubles, the amount of data from those users could triple. Some media have, because of their design, a maximum acceptable fill factor, and this becomes an accelerator for storage management. Hard disks, for example, will show a performance degradation above 70% full. This figure is subsequently used as a threshold value in the policies for the monitoring of those hard disks.
Figure 4D.1 – The pyramid of storage solutions.
Click here to view a
larger version in a new browser window.
The advent of storage systems, like RAID and SAN, has provided an increase in performance and reliability. Due to the construction of these systems they can easily be repaired, maintained and serviced without disruption of their primary function. This comes at a price, however. The software needed to manage these systems is often quite complex and ‘hides’ the bare essentials that can make it a ‘black box’. Complex and complicated configuration tools are necessary to make these systems present themselves as a ‘virtual’ disk that is usable for other components within the infrastructure. As shown in Figure 4D.1, there are also trade-offs between costs and speed of access.
Performance of the total background memory is directly influenced by the distribution of data over file stores and interfaces. This applies to on-line transaction processing as well as to batch processing. It is still wise to spread out frequently accessed files, for example, by placing database journal files on different spindles to those for the live data.
Magnetic tape is still being used as a medium for data storage and probably will be for the foreseeable future. It normally comes in the form of cassettes or cartridges. Their use is often that of ‘near-line’ storage as a backup medium in combination with tape-robots.